﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ChequeManagement.BLL
{
    /// <summary>
    /// This Class contains number of Field,constructor , properties,method
    /// </summary>
    /// <field> this field use in IsValid method for set parameter ApplicationInfo class and properties</field>
    /// <properties>this properties contain set for receive value and contain get for return value </properties>
    ///  <method>this class contain IsValid method for Validation all properties</method>
    ///  <constructor>this class include a constructor that one not have overload</constructor>
    public class BLLChequeHistory
    {
        int chequeHistoryID;

        /// <summary>
        /// This constructor not have parameter and use on create instance of class
        /// </summary>
        public BLLChequeHistory()
        {

        }

        /// <summary>
        /// This property contain set that check chequeHistoryID is null or not null if chequeHistoryID not null, receive value  and contain get for return value
        /// </summary>
        public int ChequeHistoryID
        {
            get
            {
                return chequeHistoryID;
            }
            set
            {
                if (chequeHistoryID == null)
                {
                    throw new ArgumentException("ChequeHistoryID cannot be blank", "ChequeHistoryID");
                }

                chequeHistoryID = value;
            }
        }

        /// <summary>
        /// This method check fields value
        /// </summary>
        /// <returns>false</returns>
        public Boolean IsValid()
        {
            return false;
        }


    }
}
